package com.fary.constructor;

import com.fary.replacemethod.UserService;

import java.util.List;

public class DemoServiceImpl implements DemoService {
 
    private Integer id;
 
    private Integer age;
 
    private String name;
 
    private List<String> skillList;
 
    private UserService userService;
 
    public DemoServiceImpl(Integer id, Integer age, String name, List<String> skillList, UserService userService) {
        this.id = id;
        this.age = age;
        this.name = name;
        this.skillList = skillList;
        this.userService = userService;
    }
 
    @Override
    public void sayHello() {
    }
}